<template>
    <transition name="el-fade-in">
        <div class="sdiv"
            v-show="show"
            style="display: block;">
            <div class="cuo"
                @click="clickHandle">X</div>
            <p class="one"
                style="overflow: hidden;">
                <span>隐患预案处理类型:</span>
                <span style="color: rgb(255, 255, 255);">用电异常-温度严重超高</span>
            </p>
            <p class="one">
                <span>地址：</span>
                <span style="color: rgb(255, 255, 255);">浙江省温州市瓯海区泰康路</span>
                <span>设备名称</span>
                <span style="color: rgb(255, 255, 255);">瓯海电镀园顺景三楼西配电箱</span>
            </p>
            <p></p>
            <p class="location">当前状态：(未处理)</p>

            <div class="ping">
                <div class="ping1">
                    <p class="yuan">1</p>
                    <p class="ping_one">平台处理</p>
                </div>
                <div class="ping2">
                    <p class="yuan2">2</p>
                    <p class="ping_one">消防网格员上门检查</p>
                </div>
            </div>
            <p class="one one_one">
                <span>处置</span>
                <span style="color: rgb(255, 255, 255);">任务推送到消防网格员</span>
            </p>
            <div class="lian">
                <p>
                    <span>当前联系人</span>
                    <span>王显伟</span>
                </p>
                <p style="margin-top: 0px;">
                    <span>联系方式</span>
                    <span>15088558981</span>
                </p>
            </div>
            <button class="button pop_button_01">确认处置</button>
        </div>
    </transition>
</template>
<script>
export default {
    name: 'PointTitle',
    props: {
        itemInfo: Object,
        show: Boolean
    },
    methods: {
        clickHandle() {
            this.$emit('close');
        }
    }
};
</script>
<style scoped>
.sdiv {
    height: 70%;
    width: 30%;
    background: #015aa7;
    color: #84e0ff;
    position: absolute;
    left: 30%;
    top: 76px;
    z-index: 1000;
    padding: 20px 5%;
    font-size: 16px;
}
.sdiv .cuo {
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background: rgb(97, 92, 92);
    line-height: 30px;
    text-align: center;
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 12px;
    cursor: pointer;
}

.sdiv p {
    overflow: hidden;
}

.sdiv .one span {
    display: block;
    width: 100%;
}

.sdiv .location {
    color: #84e0ff;
}
.ping {
    width: 100%;
    overflow: hidden;
    margin-top: 3%;
    background: #024477;
    padding: 10px;
}
.ping .ping1,
.ping2 {
    overflow: hidden;
}
.ping .ping2 {
    margin-top: 10px;
}
.ping div {
    width: 100%;
}
.ping p {
    float: left;
}
.zuan {
    overflow: hidden;
    width: 100%;
}
.zuan p {
    float: left;
    margin-left: 20px;
}
.ping_one {
    height: 30px;
    line-height: 30px;
    margin-left: 5%;
    margin: 0 10px;
}
.sdiv .yuan {
    height: 30px;
    width: 30px;
    background: red;
    border-radius: 50%;
    line-height: 30px;
    text-align: center;
    margin: auto;
}

.sdiv p span {
    margin-top: 10px;
}
.sdiv .one_one {
    border-bottom: 1px solid #046d9b;
    padding-bottom: 5%;
}

.sdiv .yuan2 {
    height: 30px;
    width: 30px;
    background: green;
    border-radius: 50%;
    float: left;
    line-height: 30px;
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
}
.sdiv .yuan3 {
    height: 50px;
    width: 50px;
    background: red;
    border-radius: 50%;
    float: left;
}
.location2 {
    overflow: hidden;
    width: 100%;
}
.location2 p {
    float: left;
}
.location2 .wei {
    margin-left: 40px;
}
.location2 .wei2 {
    margin-left: 40px;
}
.sdiv .lian {
    overflow: hidden;
}
.sdiv .lian p {
    float: left;
    margin-top: 0;
    overflow: hidden;
}
.sdiv .lian p:nth-of-type(2) {
    margin-left: 20%;
}
.sdiv .lian p span {
    width: 100%;
    display: block;
}

.sdiv button {
    width: 100px;
    height: 30px;
    margin-top: 10%;
    background: #84e0ff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
</style>

